package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.VoiceRoomSupplementRecordDO;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.VoiceRoomRebateSupplementDTO;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.query.VoiceRoomSupplementQueryDTO;

import java.util.List;

public interface VoiceRoomSupplementRecordDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VoiceRoomSupplementRecordDO record);

    int insertSelective(VoiceRoomSupplementRecordDO record);

    VoiceRoomSupplementRecordDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VoiceRoomSupplementRecordDO record);

    int updateByPrimaryKey(VoiceRoomSupplementRecordDO record);

    List<VoiceRoomRebateSupplementDTO> getList(VoiceRoomSupplementQueryDTO queryDTO);
    Integer getCount(VoiceRoomSupplementQueryDTO queryDTO);
}